//引入express
const express = require('express');
const {response, request} = require("express");
//创建应用对象
const app = express();
//路由规则
app.get('/',(request,response)=> {
    response.send("HELLO EXPRESS");
});
//监听端口
app.listen(8000,()=> {
    console.log("服务已启动， 8000 端口正在监听");
})